package com.chenxingnet.dao;

import com.chenxingnet.dto.After;
import com.chenxingnet.dto.AfterExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface AfterMapper {
    int countByExample(AfterExample example);

    int deleteByExample(AfterExample example);

    int deleteByPrimaryKey(Integer aid);

    int insert(After record);

    int insertSelective(After record);

    List<After> selectByExample(AfterExample example);

    After selectByPrimaryKey(Integer aid);

    int updateByExampleSelective(@Param("record") After record, @Param("example") AfterExample example);

    int updateByExample(@Param("record") After record, @Param("example") AfterExample example);

    int updateByPrimaryKeySelective(After record);

    int updateByPrimaryKey(After record);
    
    long getCount(); 
    
    List<After> selectAllByCount(@Param("startPos")int startPos,@Param("pageSize")int pageSize);

    int updateAfter(@Param("aid")Integer aid);
    
    List<After> souAfter(@Param("souafter") String souafter);
}